package com.ljj.xfireClient;

import java.net.MalformedURLException;
import java.net.URL;
import org.codehaus.xfire.client.Client;

/**
 * Hello world!
 *
 */
public class App {
  public static void main(String[] args) throws MalformedURLException, Exception {
    System.out.println("Hello World!");
    Client client =
        new Client(new URL("http://127.0.0.1:8080/xfireServer/service/BookService?wsdl"));
    Object[] results2 = client.invoke("getBook", new Object[] {"success"});
    System.out.println(results2[0]);
  }
}
